import request from '@/utils/request'

export const updateOneUser = data => request({
  url: '/updateOneUser',
  method: 'patch',
  data: data || {}
})

export const getOneUser = id => request({
  url: '/getOneUser/' + id,
  method: 'get'
})

export const getUserList = data => request({
  url: '/getUserList',
  method: 'post',
  data: data || {}
})

